<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org"
      xmlns:layout="http://www.ultraq.net.nz/web/thymeleaf/layout"
      layout:decorate="demo/frame">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<table border="1" layout:fragment="content">
    <tr>
        <th>id</th>
        <th>名称</th>
        <th>性别</th>
        <th>年龄</th>
    </tr>
    <tr th:each="abc:${list}">
        <td th:text="${abc.id}"></td>
        <td th:text="${abc.name}"></td>
        <td th:text="${abc.sex}"></td>
        <td th:text="${abc.age}"></td>
    </tr>
</table>
</body>
</html>